package com.endoc.designpattern.singleton;

/**
 * 饿汉单例
 */
public class HungryManSingleton {
    private static HungryManSingleton hungryManSingleton = new HungryManSingleton();
    public HungryManSingleton getInstance(){
        return hungryManSingleton;
    }

}
